//
//  PlatformConfig.h
//  ShadowMapping
//
//  Created by Daniel Corleone on 13/6/14.
//  Copyright (c) 2014年 iCloverStudio. All rights reserved.
//

#ifndef ShadowMapping_PlatformConfig_h
#define ShadowMapping_PlatformConfig_h

/// some macro defines here.
#include "PlatformMacros.h"
#include "PlatformFeatures.h"

#if defined(PLATFORM_WIN32)
#   include <windows.h>
#endif

//#if !defined(__APPLE__) && !defined(__MACOSX__)
#include <GL/glew.h>
#if defined(__GLEW_H__)
#	if defined(PLATFORM_WIN32)
#		pragma comment(lib, "glew32.lib")
#		pragma comment(lib, "OpenGL32.lib")
#		pragma comment(lib, "glu32.lib")
#	endif   /// PLATFORM_MACOSX
#endif	/// __GLEW_H__
//#endif  /// __APPLE__

#include <GLFW/glfw3.h>
#if defined(_glfw3_h_)
#	if defined(PLATFORM_WIN32)
#		pragma comment(lib, "glfw3.lib")
#	endif   /// PLATFORM_WIN32
#endif	/// _glfw3_h_

/// Standard Library added.
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string>
#include <vector>
#include <iostream>
using namespace std;

/// OpenGL Math Library GLM
#define GLM_FORCE_RADIANS
#include "glm/glm.hpp"
#include "glm/ext.hpp"
using namespace glm;

#if defined(PLATFORM_WIN32)
#   include "PlatformWin32.h"
#elif defined(PLATFORM_MACOSX)
#   include "PlatformMacOSX.h"
#endif



#endif
